package com.marry.daodao.authserver.infrastructure.repository;

import com.marry.daodao.authserver.domain.User;

/**
 * @author mal
 * @date 2022-11-15 11:46
 */
public interface UserRepository {
    User findByUsername(String username);

    User findById(Long userId);
}
